package com.ruoyi.dl.mapper;

import java.util.List;
import com.ruoyi.dl.domain.DlOrderDeduction;

/**
 * 扣款记录Mapper接口
 * 
 * @author ruoyi
 * @date 2021-01-14
 */
public interface DlOrderDeductionMapper 
{
    /**
     * 查询扣款记录
     * 
     * @param id 扣款记录ID
     * @return 扣款记录
     */
    public DlOrderDeduction selectDlOrderDeductionById(Long id);

    /**
     * 查询扣款记录列表
     * 
     * @param dlOrderDeduction 扣款记录
     * @return 扣款记录集合
     */
    public List<DlOrderDeduction> selectDlOrderDeductionList(DlOrderDeduction dlOrderDeduction);

    /**
     * 新增扣款记录
     * 
     * @param dlOrderDeduction 扣款记录
     * @return 结果
     */
    public int insertDlOrderDeduction(DlOrderDeduction dlOrderDeduction);

    /**
     * 修改扣款记录
     * 
     * @param dlOrderDeduction 扣款记录
     * @return 结果
     */
    public int updateDlOrderDeduction(DlOrderDeduction dlOrderDeduction);

    /**
     * 删除扣款记录
     * 
     * @param id 扣款记录ID
     * @return 结果
     */
    public int deleteDlOrderDeductionById(Long id);

    /**
     * 批量删除扣款记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteDlOrderDeductionByIds(String[] ids);
}
